package io.kiki.sba.registry.common.model;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SegmentPushInfo {

    private final String segment;

    @Setter
    private int dataCount;

    @Setter
    private String encode;

    @Setter
    private int encodeSize;

    public SegmentPushInfo(String segment) {
        this.segment = segment;
    }

    public SegmentPushInfo(String segment, int dataCount) {
        this.segment = segment;
        this.dataCount = dataCount;
    }

    public SegmentPushInfo(String segment, int dataCount, String encode, int encodeSize) {
        this.segment = segment;
        this.dataCount = dataCount;
        this.encode = encode;
        this.encodeSize = encodeSize;
    }


}
